<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <div id="app">
      <h2>职业</h2>
      <select name="" id="" v-model='secect'>
          <option value="1">doctor</option>
          <option value="2">teacher</option>
          <option value="3">developer</option>
      </select>

      <select name="" id="" v-model='secect1' multiple>
        <option value="1">doctor</option>
        <option value="2">teacher</option>
        <option value="3">developer</option>
    </select>

    <textarea name="" id="" cols="30" rows="10" v-model="text"></textarea>
  </div>
  <script src="./vue.js"></script>
  <script>
    var vm = new Vue({
      el:'#app',
      data:{
          secect:'1',
          secect1:[],
          text:"morning！"
      },
      methods:{
      }
     });

     setInterval(()=>{
        let num = Math.floor(Math.random() * 3) + 1
        vm.secect = num
     },1000)
  </script>
</body>
</html>
